<script setup lang="ts">
import { onLaunch, onShow, onHide } from "@dcloudio/uni-app";
import { useSystemStore } from "@/stores/modules/systemStore";
onLaunch(async () => {
  var systemStore = useSystemStore();
  // 初始化系统状态，如何审核状态等
  await systemStore.systemDictionaryInit();
  console.log("App Launch");
});
onShow(() => {
  console.log("App Show");
});
onHide(() => {
  console.log("App Hide");
});
</script>

<style lang="scss">
// 字体图标
@import "@/styles/fonts.scss";
@import "/src/assert/styles/variables.scss";

view,
navigator,
input,
scroll-view {
  box-sizing: border-box;
}

button::after {
  border: none;
}

swiper,
scroll-view {
  flex: 1;
  height: 100%;
  overflow: hidden;
}

image {
  width: 100%;
  height: 100%;
}

/*
// 两行省略
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
*/
</style>
